package esiag.pds.beans;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.core.io.ClassPathResource;

public class Parameters {

	@Autowired
	@Qualifier("port")
	private int port;
	
	@Autowired
	@Qualifier("upDateContextFrequency")
	private int upDateContextFrequency;
	
	@Autowired
	@Qualifier("min")
	private int min;
	
	@Autowired
	@Qualifier("max")
	private int max;
	
	@Autowired
	@Qualifier("aliveTime")
	private int aliveTime;
	
	@Autowired
	@Qualifier("blockingQueue")
	private int blockingQueue;
	
	public int getUpDateContextFrequency() {
		return upDateContextFrequency;
	}

	public void setUpDateContextFrequency(int upDateContextFrequency) {
		this.upDateContextFrequency = upDateContextFrequency;
	}

	public int getMin() {
		return min;
	}

	public void setMin(int min) {
		this.min = min;
	}

	public int getMax() {
		return max;
	}

	public void setMax(int max) {
		this.max = max;
	}

	public int getAliveTime() {
		return aliveTime;
	}

	public void setAliveTime(int aliveTime) {
		this.aliveTime = aliveTime;
	}

	public int getBlockingQueue() {
		return blockingQueue;
	}

	public void setBlockingQueue(int blockingQueue) {
		this.blockingQueue = blockingQueue;
	}

	public Parameters() {
		// TODO Auto-generated constructor stub
	}
	
	public int getPort() {
		return port;
	}
	
	public int setupDateContextFrequency() {
		return upDateContextFrequency;
	}
	
	public void setPort(int port) {
		this.port = port;
	}
	
	public void setupDateContextFrequency(int upDateFrequency) {
		this.upDateContextFrequency = upDateFrequency;
	}

}
